<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8"%> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
<%@ taglib uri="/WEB-INF/tag/pagetag.tld" prefix="p"%> 
<%@ taglib uri="/WEB-INF/tag/pageform.tld" prefix="pf" %> 
<%@ page trimDirectiveWhitespaces="true"%>
<html>
<head>
<title>身份选择saas-group</title>
	<!-- 静态引入 -->
	<c:import url="/WEB-INF/views/config/include.jsp" charEncoding="UTF-8" />
	<c:import url="/WEB-INF/views/config/jquery-validation.jsp" charEncoding="UTF-8" />
	<link href="/custom/views/css/saas-group.css?20210415" 		rel="stylesheet" media="screen">
</head>
<body class="body" style="width: 98%; height: 98%; text-align:center;background-color: #F2F2F2">
  <form action="/pc/1.0/saas/identity.do" id="blankForm" name="blankForm" method="POST">
	<input type="hidden" name="partnerType" id="partnerType" value="1">
    <pf:token data="${data}"/>
  </form>

	<table style="width: 100%; height: 100%;">
		<tr style="height: 38px;">
			<td style="width: 100px"></td>
			<td valign="middle">
				<table class="boxshadow">
					<tr>
						<td style="width: 10px"></td>
						<td>请选择......</td>
						<td style="width: 10px"></td>
					</tr>
				</table>
			</td>
			<td style="width: 100px" valign="middle"></td>
		</tr>
		<tr style="height: 100%;">
			<td></td>
			<td align="center" valign="middle" class="boxshadow">
				<table>
					<tr>
						<td align="center">
							<div class="group_list" onclick="parent.showGamePageForm('${item}')">
								<div class="group_name">团队版本</div> 
								<div class="group_date">适用于5人以下小型团队，成功后开启部分功能，某些功能需要付费。</div>
								<div class="group_command">
									<button type="button" class="btn btn2 btn-primary" onclick="doAction('2')">我要开通</button>
								</div> 
							</div>
						</td>
						<td align="center">
							<div class="group_list" onclick="parent.showGamePageForm('${item}')">
								<div class="group_name">家族版本</div> 
								<div class="group_date">适用于多种形式的综合团队，成功后开启大部分功能，某些功能需要付费。</div>
								<div class="group_command">
									<button type="button" class="btn btn2 btn-primary" onclick="doAction('3')">我要开通</button>
								</div> 
							</div>
						</td>
					</tr>
					<tr>
						<td align="center">
							<div class="group_list" onclick="parent.showGamePageForm('${item}')">
								<div class="group_name">企业版本</div> 
								<div class="group_date">适用于专业组织机构，成功后开启全部功能，需要付费完成认证。</div>
								<div class="group_command">
									<button type="button" class="btn btn2 btn-primary" onclick="doAction('4')">我要开通</button>
								</div> 
							</div>
						</td>
						<td align="center">
							<div class="group_list" onclick="parent.showGamePageForm('${item}')">
								<div class="group_name">社区版本</div> 
								<div class="group_date">适用于城市居民政府组织，需要审核完成认证，成功后开启大部分功能，某些功能需要付费。</div>
								<div class="group_command">
									<button type="button" class="btn btn2 btn-primary" onclick="doAction('5')">我要开通</button>
								</div> 
							</div>
						</td>
					</tr>
				</table>
				
				
				
				
			</td>
			<td></td>
		</tr>	
		<tr style="height: 38px;">
			<td style="width: 100px"></td>
			<td valign="middle">
				<table class="boxshadow">
					<tr>
						<td style="width: 10px"></td>
						<td>这里是提示信息</td>
						<td style="width: 10px"></td>
					</tr>
				</table>
			</td>
			<td style="width: 100px" valign="middle"></td>
		</tr>
	</table>

	<c:if test="${not empty message}">
		<script type="text/javascript">
			showMessage("${message.code}", "${message.msg}");
		</script>
	</c:if>

<script>
function doAction(partnerType){
	$("#partnerType").val(partnerType);
	blankForm.submit();
}  
</script>
</body>
</html>